package com.example.middleware.dynamic.thread.pool.sdk.domain;

import com.example.middleware.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/**
 * @ Tool：IntelliJ IDEA
 * @ Author：三石
 * @ Date：2024-08-19-10:51
 * @ Description：动态线程池服务
 */
public interface IDynamicThreadPoolService {

    List<ThreadPoolConfigEntity> queryThreadPoolList();

    ThreadPoolConfigEntity queryThreadPoolConfigByName(String threadPoolName);

    void updateThreadPoolConfig(ThreadPoolConfigEntity threadPoolConfigEntity);

}
